<template>
   <div id="user-info">
     <a href="javascript:" class="clear-fix">
       <slot name="user-icon">
         <svg class="privateImage-svg left">
           
         </svg>
       </slot>
       <div class="login-info left">
         <slot name="user-nickname">
           <div>登录/注册</div>
         </slot>
         <div class="phone">
           <span class="phones">
            <img src="@/assets/img/profile/phone.png" alt="">
           </span>
           <slot name="user-phone">暂无绑定手机号</slot>
            <span class="arrow"><img src="@/assets/img/profile/arrow.png" alt=""></span>
         </div>
       </div>
        
     </a>
   </div>
</template>

<script>
export default {
  name:"UserInfo",
   data () {
      return {

      };
   },

   components: {},

   computed: {},

   methods: {}
}
</script>
<style  scoped>
 #user-info {
    background-color: var(--color-tint);
    padding: 15px;
    margin-top: -5px;
  }

  #user-info .privateImage-svg {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 30px;
  }

  .left {
    float: left;
  }

  #user-info .arrow-svg {
    width: 11px;
    height: 22px;
    margin-top: 18px;
  }

  #user-info .login-info {
    color: #fff;
    margin: 10px 0 0 10px;
  }

  #user-info .login-info .phone {
    position: relative;
    width: 250px;
    font-size: 13px;
    margin-top: 5px;
    margin-left: 15px;
    font-weight: 300;
  }

  #user-info .login-info .phone .icon-mobile {
    position: absolute;
    width: 12px;
    height: 18px;
    left: -15px;
    top: 0px;
  }
  .phones img{
    width: 25px;
    height: 25px;
    padding-top: 5px;
  }
  .arrow img{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 0;
  }
</style>